<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<div>
	<h2>Create a free spitter account</h2>

	<sf:errors path ="*" cssClass="error" />

	<sf:form method="POST" modelAttribute="spitter"
		enctype="multipart/form-data">
		<fieldset>
			<table>
				<tr>
					<th><label for="user_full_name">Full Name: </label></th>
					<td><sf:input path="fullName" size="15" id="user_full_name" />
						<sf:errors path="fullName" cssClass="error" /></td>
				</tr>
				<tr>
					<th><label for="user_screen_name">Username:</label></th>
					<td><sf:input path="username" size="15" maxlength="15"
							id="user_screen_name" /> <small id="username_msg">No
							spaces,please.</small> <sf:errors path="username" cssClass="error" /></td>
				</tr>
				<tr>
					<th><label for="user_password">Password:</label></th>
					<td><sf:password path="password" size="30" showPassword="true"
							id="user_password" /> <small>6 characters or more(be
							tricky!)</small> <sf:errors path="password" cssClass="error" /></td>
				</tr>
				<tr>
					<th><label for="user_email">EmailAddress:</label></th>
					<td><sf:input path="email" size="30" id="user_email" /> <small>In
							case you forget something</small> <sf:errors path="email"
							cssClass="error" /></td>
				</tr>
				<tr>
					<th></th>
					<td><sf:checkbox path="updateByEmail"
							id="user_send_email_newsletter" /> <label
						for="user_send_email_newsletter">Send me email updates!</label></td>
				</tr>
				<tr>
					<th><label for="image">Profile Image:</label></th>
					<td><input name="image" type="file" /></td>
				</tr>
				<tr>
					<th></th>
					<td><input name="commit" type="submit"
						value="I accept. Create my account." /></td>
				</tr>
			</table>
		</fieldset>
	</sf:form>
</div>
